import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import VueAxios from 'vue-axios'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// 加载 vant 核心组件库
import Vant from 'vant'
// 加载 vant 全局样式
import 'vant/lib/index.css'

// 加载动态设置 rem 基准值
import 'amfe-flexible'

// 加载全局样式文件 
import './styles/index.less'

// 注册使用 vant 组件库
createApp(App).use(store).use(VueAxios, axios).use(router).use(ElementPlus).use(Vant).mount('#app')
